package com.vision.dao.msg91;

import com.vision.common.bean.msg91.Video91QueryOrder;
import com.vision.entity.msg91.Video91Msg;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface Video91MsgDao {

    int insert(Video91Msg record);

    Video91Msg getByViewKey(String viewKey);

    /**
     * title、name 模糊
     *
     * @param order
     * @return
     */
    List<Video91Msg> select91MsgByWord(Video91QueryOrder order);

    int select91MsgByWordCount(String viewKey);

    Video91Msg selectUrlIsNull(Integer num);

    int selectUrlIsNullCount();

    int updateVideoMsg(Video91Msg video91Msg);

}